package com.atguigu.tingshu.album.service;

import com.atguigu.tingshu.model.album.BaseCategory1;
import com.atguigu.tingshu.model.album.BaseCategory3;
import com.atguigu.tingshu.vo.album.AttributeVo;
import com.atguigu.tingshu.vo.album.BaseCategoryVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface BaseCategoryService extends IService<BaseCategory1> {


    /**
     * 查询分类集合
     * @return
     */
    List<BaseCategoryVo> getBaseCategoryList(Long category1Id);

    /**
     * 根据一级分类查询对应的属性
     * @param categoryId
     * @return
     */
    List<AttributeVo> findAttribute(Long categoryId);

    /**
     * 查询置顶频道页的三级分类
     * @param category1Id
     * @return
     */
    List<BaseCategory3> findTopBaseCategory3(Long category1Id);
}
